package com.baosight.risk.service.zbaa.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * Table: T_ZBAA_TARGET_AUTH
 */
@Data
@ApiModel
@Table(name = "T_ZBAA_TARGET_AUTH")
public class ZbaaTargetAuth extends BaseEntity {


    /**
     * 指标ID
     * <p>
     * Table:     T_ZBAA_TARGET_AUTH
     * Column:    TARGET_ID
     * Nullable:  false
     */
    @ApiModelProperty("指标ID")
    @Column(name = "TARGET_ID")
    private String targetId;

    /**
     * 指标编号
     * <p>
     * Table:     T_ZBAA_TARGET_AUTH
     * Column:    TARGET_NO
     * Nullable:  false
     */
    @ApiModelProperty("指标编号")
    @Column(name = "TARGET_NO")
    private String targetNo;

    /**
     * 指标名称
     * <p>
     * Table:     T_ZBAA_TARGET_AUTH
     * Column:    TARGET_NAME
     * Nullable:  true
     */
    @ApiModelProperty("指标名称")
    @Column(name = "TARGET_NAME")
    private String targetName;

    /**
     * 指标类型
     * <p>
     * Table:     T_ZBAA_TARGET_AUTH
     * Column:    TARGET_TYPE
     * Nullable:  true
     */
    @ApiModelProperty("指标类型")
    @Column(name = "TARGET_TYPE")
    private String targetType;

    /**
     * 指标类型说明
     * <p>
     * Table:     T_ZBAA_TARGET_AUTH
     * Column:    TARGET_TYPE_NAME
     * Nullable:  true
     */
    @ApiModelProperty("指标类型说明")
    @Column(name = "TARGET_TYPE_NAME")
    private String targetTypeName;

    /**
     * 工号
     * <p>
     * Table:     T_ZBAA_TARGET_AUTH
     * Column:    USER_CODE
     * Nullable:  true
     */
    @ApiModelProperty("工号")
    @Column(name = "USER_CODE")
    private String userCode;

    /**
     * 姓名
     * <p>
     * Table:     T_ZBAA_TARGET_AUTH
     * Column:    USER_DESC
     * Nullable:  true
     */
    @ApiModelProperty("姓名")
    @Column(name = "USER_DESC")
    private String userDesc;

    /**
     * 排序
     * <p>
     * Table:     T_ZBAA_TARGET_AUTH
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
//    private String rowOrder;
    private  Integer rowOrder;
    private static final long serialVersionUID = 1L;
}